import request1 from "@/utils/request2";

// 渲染
export const HuoPintype=params=>request1.get('goodsType/page',{params})

//删除
export const delType=id=>request1.delete('goodsType',{
  params:{ids:[id]}
})
// HPLX
export const getHp=()=>request1.get('codeFactory/next/HPLX')

// 新增货品类型
export const addType=data=>request1.post('goodsType',data)